package com.example.leavls.mapper;

import com.example.leavls.pojo.Leaverecords;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface LeaveMapper {

    List<Leaverecords>getAllbypage(Integer page,Integer size);
    int addLeave(Leaverecords leaverecords);
    int delLeave(Integer id);
    int updLeave(Leaverecords leaverecords);
    Leaverecords getOne(Integer id);
    Long getTotal();
}
